package com.cake.ssm.service.impl;

import com.cake.ssm.dao.UserMapper;
import com.cake.ssm.po.User;
import com.cake.ssm.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class UserServiceImpl implements UserService{

    @Autowired
    private UserMapper userMapper;

    public List<User> loadAllUser() throws Exception {
        return userMapper.loadAllUser();
    }


}
